package yu.zhou.njupt.importdata.entity;

import java.util.List;

/**
 * @author yu.zhou
 * 对应数据库中的表
 *
 */
public class Table {

    private String tableName;
    private String createSql;
    private List<Constraint> constraints = null;
    private List<Index> indexes = null;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getCreateSql() {
        return createSql;
    }

    public void setCreateSql(String createSql) {
        this.createSql = createSql;
    }

    public List<Constraint> getConstraints() {
        return constraints;
    }

    public void setConstraints(List<Constraint> constraints) {
        this.constraints = constraints;
    }

    public List<Index> getIndexes() {
        return indexes;
    }

    public void setIndexes(List<Index> indexes) {
        this.indexes = indexes;
    }
    
}
